<?php
if($this->page_id > 0) {
	$page = new CMS_Content_Item_Page($this->page_id);
	$pageName = $page->name;
} else {
	$pageName = null;
}
?>
<tr>
	<td class='links'>
		<a href='/admin/menuitem/update/id/<?php echo $this->id;?>'>Update</a> | <a href='/admin/menuitem/move/direction/up/id/<?php echo $this->id;?>'>Move up</a> | <a href='/admin/menuitem/move/direction/down/id/<?php echo $this->id;?>'>Move down</a> | <a href='/admin/menuitem/delete/id/<?php echo $this->id;?>'>Delete</a>
	</td>
	<td><?php echo $this->label ?></td>
	<td><?php echo $pageName ?></td>
	<td><?php echo $this->link ?></td>
</tr>